/**
 * @description 新闻列表的模板数据
 */
const newslistDefaultData = {
  version: '001',
  base: {
  },
  blockKeys: ["category", "newssearch", "newslisthot_title", "newslistrecommend_title"],
  templateKeys: ["newslistlist", "newslisthot", "newslistrecommend"],
  page: {
    classname: ".newslist",
    default: {
      width: "1400px",
      margin: "0 auto",
      padding: "0",
    }
  },
  category: {
    base: {
      limit: 6
    },
    newslist_category: {
      classname: ".newslist .category",
      default: {
        width: "100%",
        height: "auto",
        padding: "20px 0",
        margin: "0",
        display: "flex",
        justifyContent: "center",
        alignItems: "center",
        gap: "20px"
      }

    },
    newslist_category_item: {
      classname: ".newslist .category .item",
      default: {
        width: "auto",
        height: "auto",
        padding: "6px 10px",
        margin: "0",
        display: "flex",
        justifyContent: "center",
        alignItems: "center",
        color: "#0A1E75",
        fontSize: "14px",
        background: "#DAE1FF",
        cursor: "pointer",
        borderRadius: "6px",
        transition: "all 0.3s linear"
      },
      hover: {
        color: "#FFF",
        background: "#1A3194"
      }
    },
    newslist_category_item_active: {
      classname: ".newslist .category .item.active",
      default: {
        color: "#FFF",
        background: "#1A3194"
      },
    },
    newslist_category_img: {
      classname: ".newslist .category .item .img",
      default: {
        width: "28px",
        height: "28px",
        borderRadius: "50%",
        objectFit: "cover"
      }
    },
    newslist_category_text: {
      classname: ".newslist .category .item .text",
      default: {
        color: "inherit",
        fontSize: "inherit",
      }
    },
  },
  newssearch: {
    base: {
      labelFlag: true,
      colonFlag: true,
      search_text: "查询",
      search_icon: "SearchOutlined",
      add_text: "新增",
      add_icon: "PlusOutlined"
    },
    newssearch_form: {
      classname: ".newssearch",
      "default": {
        "width": "auto",
        "height": "auto",
        "padding": "10px 0",
        "margin": "0",
        display: "flex",
        "flex-wrap": " wrap",
        "alignItems": "center",
        "justifyContent": "center"
      }
    },
    newssearch_item: {
      classname: ".newssearch .ant-form-item",
      "default": {
        margin: "0 16px 0 0",
        "padding": "0",
        flex: "none"
      },
    },
    newssearch_label: {
      classname: ".newssearch .ant-form-item .ant-form-item-label >label",
      "default": {
        "width": "auto",
        height: "32px",
        "color": "rgba(0, 0, 0, 0.88)",
        "fontSize": "14px",
        "display": "inline-flex",
        "alignItems": "center",
        "justifyContent": "center"
      },
    },
    newssearch_placeholder: {
      classname: ".newssearch .ant-form-item input::placeholder, .newssearch .ant-form-item .ant-select-selection-placeholder",
      "default": {
        fontSize: "inherit",
        color: "rgba(0, 0, 0, 0.25)",
      },
    },
    newssearch_input: {
      classname: ".newssearch .ant-input-affix-wrapper",
      "default": {
        "height": "auto",
        width: "120px",
        "fontSize": "14px",
        "color": "rgba(0, 0, 0, 0.88)",
        "border": "1px solid #d9d9d9",
        "borderRadius": "6px",
        "background": "#fff",
      },
      "focus": {
        "border": "1px solid #4096ff",
        boxShadow: "0 0 0 2px rgba(5, 145, 255, 0.1)",
      }
    },
    newssearch_input_icon: {
      classname: ".newssearch .ant-input-affix-wrapper .anticon",
      "default": {
        color: "rgba(0, 0, 0, 0.45)",
        cursor: "pointer",
        transition: "all 0.3s",
      },
      "hover": {
        color: "rgba(0, 0, 0, 0.88)"
      }
    },
    newssearch_select: {
      classname: ".newssearch.ant-form .ant-form-item .ant-select.ant-select-outlined .ant-select-selector",
      "default": {
        "height": "100%",
        "width": "120px",
        "fontSize": "14px",
        "color": "rgba(0, 0, 0, 0.88)",
        "border": "1px solid #d9d9d9",
        "borderRadius": "6px",
        "background": "#fff",
      },
      focus: {
        "border-color": "#1677ff",
        "box-shadow": "0 0 0 2px rgba(5, 145, 255, 0.1)"
      }
    },
    newssearch_select_icon: {
      classname: ".newssearch .ant-select .ant-select-arrow, .newssearch .ant-select .ant-select-clear",
      "default": {
        position: "absolute",
        top: "50%",
        height: "12px",
        margin: "-6px 0 0 0",
        "fontSize": "inherit",
        "color": "rgba(0, 0, 0, 0.25)",
      },
      "hover": {
        color: "rgba(0, 0, 0, 0.88)"
      }
    },
    newssearch_date: {
      classname: ".newssearch .ant-form-item .ant-picker",
      "default": {
        "height": "auto",
        "fontSize": "14px",
        "color": "rgba(0, 0, 0, 0.88)",
        background: "#ffffff",
        border: "1px solid #d9d9d9",
        padding: "4px 11px 4px",
        "borderRadius": "6px",
      },
      focus: {
        boxShadow: "0 0 0 2px rgba(5, 145, 255, 0.1)"
      }
    },
    newssearch_date_icon: {
      classname: ".newssearch .ant-picker .ant-picker-suffix",
      "default": {
        flex: "none",
        margin: "0 0 0 4px",
        "fontSize": "inherit",
        color: "rgba(0, 0, 0, 0.25)",
      }
    },
    newssearch_btn_box: {
      classname: ".newssearch .btn-wrapper",
      "default": {
        "display": "flex",
        "flexWrap": "wrap",
        "margin": "0",
        "padding": "0",
        "width": "auto",
        gap: "20px"
      },
    },
    "newssearch_submit": {
      classname: ".newssearch .btn-wrapper .submit-btn",
      "default": {
        "width": "auto",
        height: "32px",
        fontSize: "14px",
        color: "#fff",
        background: "#1677ff",
        "margin": "0",
        padding: "4px 15px",
        lineHeight: "1.5714285714285714",
        borderRadius: "6px",
        border: "1px solid transparent",
      },
      "hover": {
        color: "#fff",
        background: "#4096ff",
      }
    },
    newssearch_add: {
      classname: ".newssearch .btn-wrapper .add-btn",
      "default": {
        height: "32px",
        width: "auto",
        padding: "4px 15px",
        fontSize: "14px",
        color: "rgba(0, 0, 0, 0.88)",
        background: "#ffffff",
        border: "1px solid #d9d9d9",
        borderRadius: "6px",
        boxShadow: "0 2px 0 rgba(0, 0, 0, 0.02)",
      },
      "hover": {
        color: "#4096ff",
        border: "1px solid #4096ff",
        background: "#ffffff",
      }
    },
  },
  newslistlist_box: {
    classname: ".newslistlist",
    default: {
      width: "100%",
      padding: "0",
      margin: "0",
    },
  },
  newslistlist: {
    base: {
      type: "1",
      limit: 8,
      iconFlag: true,
      labelFlag: true
    },
    newslistlist_list_box: {
      classname: '.newslistlist .good-list-1',
      default: {
        width: "100%",
        height: "auto",
        padding: "20px 0",
        margin: "0",
        display: "flex",
        flexWrap: "wrap",
        justifyContent: "space-between",
        alignItems: "flex-start",
        gap: "20px"
      }
    },
    newslistlist_list_item: {
      classname: '.newslistlist .good-list-1 .item',
      default: {
        flex: "0 0 auto",
        width: "20%",
        height: "auto",
        padding: "10px",
        border: "1px solid #eee",
        position: "relative",
        cursor: "pointer",
        transition: "boxShadow 0.3s linear,transform 0.3s linear"
      },
      hover: {
        boxShadow: "0px 4px 5px 0px rgba(0,0,0,0.3)",
        transform: "translateY(-10px)"
      }
    },
    newslistlist_list_img: {
      classname: '.newslistlist .good-list-1 .item .img-box',
      default: {
        width: "100%",
        height: "160px",
        borderRadius: "10px",
        overflow: "hidden"
      }
    },
    newslistlist_list_img_img: {
      classname: '.newslistlist .good-list-1 .item .img',
      default: {
        width: "100%",
        height: "100%",
        objectFit: "cover"
      }
    },
    newslistlist_list_info: {
      classname: '.newslistlist .good-list-1 .item .info-box',
      default: {
        width: "100%",
        height: "auto",
        margin: "0",
        padding: "0"
      }
    },
    newslistlist_list_name: {
      classname: '.newslistlist .good-list-1 .item .name',
      default: {
        color: "#000000",
        fontSize: "18px",
        fontWeight: "600",
        margin: "10px 0",
      }
    },
    newslistlist_list_price: {
      classname: '.newslistlist .good-list-1 .item .price',
      default: {
        color: "#E72C59",
        fontSize: "16px",
        fontWeight: "600",
        margin: "10px 0",
      }
    },
    newslistlist_list_publisher: {
      classname: '.newslistlist .good-list-1 .item .publisher',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newslistlist_list_time: {
      classname: '.newslistlist .good-list-1 .item .time',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newslistlist_list_like: {
      classname: '.newslistlist .good-list-1 .item .like',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newslistlist_list_collect: {
      classname: '.newslistlist .good-list-1 .item .collect',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newslistlist_list_view: {
      classname: '.newslistlist .good-list-1 .item .view',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    }
  },
  newslisthot_box: {
    classname: ".newslisthot",
    default: {
      width: "100%",
      padding: "0",
      margin: "30px 0 0 0",
    },
  },
  newslisthot_title: {
    newslisthot_title: {
      classname: ".newslisthot .title",
      default: {
        width: "100%",
        height: "50px",
        padding: "0",
        margin: "0",
        display: "flex",
        justifyContent: "center",
        alignItems: "center",
        borderWidth: "1px 0 1px 0",
        borderColor: "#1A3194",
        borderStyle: "solid",
        gap: "20px"
      },
    },
    newslisthot_title_text: {
      classname: ".newslisthot .title .text",
      default: {
        fontSize: '24px',
        color: "#1A3194",
        padding: "0",
        margin: "0",
      },
    },
    newslisthot_title_subtext: {
      classname: ".newslisthot .title .subtext",
      default: {
        fontSize: '12px',
        color: "#000",
        padding: "0",
        margin: "0",
      },
    },
  },
  newslisthot: {
    base: {
      type: "1",
      limit: 4,
      iconFlag: true,
      labelFlag: true
    },
    newslisthot_list_box: {
      classname: '.newslisthot .good-list-1',
      default: {
        width: "100%",
        height: "auto",
        padding: "20px 0",
        margin: "0",
        display: "flex",
        flexWrap: "wrap",
        justifyContent: "space-between",
        alignItems: "flex-start",
        gap: "20px"
      }
    },
    newslisthot_list_item: {
      classname: '.newslisthot .good-list-1 .item',
      default: {
        flex: "0 0 auto",
        width: "20%",
        height: "auto",
        padding: "10px",
        border: "1px solid #eee",
        position: "relative",
        cursor: "pointer",
        transition: "boxShadow 0.3s linear,transform 0.3s linear"
      },
      hover: {
        boxShadow: "0px 4px 5px 0px rgba(0,0,0,0.3)",
        transform: "translateY(-10px)"
      }
    },
    newslisthot_list_img: {
      classname: '.newslisthot .good-list-1 .item .img-box',
      default: {
        width: "100%",
        height: "160px",
        borderRadius: "10px",
        overflow: "hidden"
      }
    },
    newslisthot_list_img_img: {
      classname: '.newslisthot .good-list-1 .item .img',
      default: {
        width: "100%",
        height: "100%",
        objectFit: "cover"
      }
    },
    newslisthot_list_info: {
      classname: '.newslisthot .good-list-1 .item .info-box',
      default: {
        width: "100%",
        height: "auto",
        margin: "0",
        padding: "0"
      }
    },
    newslisthot_list_name: {
      classname: '.newslisthot .good-list-1 .item .name',
      default: {
        color: "#000000",
        fontSize: "18px",
        fontWeight: "600",
        margin: "10px 0",
      }
    },
    newslisthot_list_price: {
      classname: '.newslisthot .good-list-1 .item .price',
      default: {
        color: "#E72C59",
        fontSize: "16px",
        fontWeight: "600",
        margin: "10px 0",
      }
    },
    newslisthot_list_publisher: {
      classname: '.newslisthot .good-list-1 .item .publisher',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newslisthot_list_time: {
      classname: '.newslisthot .good-list-1 .item .time',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newslisthot_list_like: {
      classname: '.newslisthot .good-list-1 .item .like',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newslisthot_list_collect: {
      classname: '.newslisthot .good-list-1 .item .collect',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newslisthot_list_view: {
      classname: '.newslisthot .good-list-1 .item .view',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    }
  },
  newslistrecommend_box: {
    classname: ".newslistrecommend",
    default: {
      width: "100%",
      padding: "0",
      margin: "30px 0 0 0",
    },
  },
  newslistrecommend_title: {
    newslistrecommend_title: {
      classname: ".newslistrecommend .title",
      default: {
        width: "100%",
        height: "50px",
        padding: "0",
        margin: "0",
        display: "flex",
        justifyContent: "center",
        alignItems: "center",
        borderWidth: "1px 0 1px 0",
        borderColor: "#1A3194",
        borderStyle: "solid",
        gap: "20px"
      },
    },
    newslistrecommend_title_text: {
      classname: ".newslistrecommend .title .text",
      default: {
        fontSize: '24px',
        color: "#1A3194",
        padding: "0",
        margin: "0",
      },
    },
    newslistrecommend_title_subtext: {
      classname: ".newslistrecommend .title .subtext",
      default: {
        fontSize: '12px',
        color: "#000",
        padding: "0",
        margin: "0",
      },
    },
  },
  newslistrecommend: {
    base: {
      type: "1",
      limit: 4,
      iconFlag: true,
      labelFlag: true
    },
    newslistrecommend_list_box: {
      classname: '.newslistrecommend .good-list-1',
      default: {
        width: "100%",
        height: "auto",
        padding: "20px 0",
        margin: "0",
        display: "flex",
        flexWrap: "wrap",
        justifyContent: "space-between",
        alignItems: "flex-start",
        gap: "20px"
      }
    },
    newslistrecommend_list_item: {
      classname: '.newslistrecommend .good-list-1 .item',
      default: {
        flex: "0 0 auto",
        width: "20%",
        height: "auto",
        padding: "10px",
        border: "1px solid #eee",
        position: "relative",
        cursor: "pointer",
        transition: "boxShadow 0.3s linear,transform 0.3s linear"
      },
      hover: {
        boxShadow: "0px 4px 5px 0px rgba(0,0,0,0.3)",
        transform: "translateY(-10px)"
      }
    },
    newslistrecommend_list_img: {
      classname: '.newslistrecommend .good-list-1 .item .img-box',
      default: {
        width: "100%",
        height: "160px",
        borderRadius: "10px",
        overflow: "hidden"
      }
    },
    newslistrecommend_list_img_img: {
      classname: '.newslistrecommend .good-list-1 .item .img',
      default: {
        width: "100%",
        height: "100%",
        objectFit: "cover"
      }
    },
    newslistrecommend_list_info: {
      classname: '.newslistrecommend .good-list-1 .item .info-box',
      default: {
        width: "100%",
        height: "auto",
        margin: "0",
        padding: "0"
      }
    },
    newslistrecommend_list_name: {
      classname: '.newslistrecommend .good-list-1 .item .name',
      default: {
        color: "#000000",
        fontSize: "18px",
        fontWeight: "600",
        margin: "10px 0",
      }
    },
    newslistrecommend_list_price: {
      classname: '.newslistrecommend .good-list-1 .item .price',
      default: {
        color: "#E72C59",
        fontSize: "16px",
        fontWeight: "600",
        margin: "10px 0",
      }
    },
    newslistrecommend_list_publisher: {
      classname: '.newslistrecommend .good-list-1 .item .publisher',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newslistrecommend_list_time: {
      classname: '.newslistrecommend .good-list-1 .item .time',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newslistrecommend_list_like: {
      classname: '.newslistrecommend .good-list-1 .item .like',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newslistrecommend_list_collect: {
      classname: '.newslistrecommend .good-list-1 .item .collect',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newslistrecommend_list_view: {
      classname: '.newslistrecommend .good-list-1 .item .view',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    }
  },
  css: "/* 新闻列表页样式文件 */"
}
export default newslistDefaultData